package mesweb.mesweb.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import mesweb.mesweb.entity.MesTechnology;
import mesweb.mesweb.mapper.MesTechnologyMapper;
import mesweb.mesweb.service.IMesTechnologyService;
import mesweb.mesweb.vo.MesTechnologyVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author niufw
 * @since 2021-05-19
 */
@Service
public class MesTechnologyServiceImpl extends ServiceImpl<MesTechnologyMapper, MesTechnology> implements IMesTechnologyService {

    @Autowired
    private  MesTechnologyMapper mesTechnologyMapper;
    @Override
    public IPage<MesTechnologyVo> getTechnologys(Page page, QueryWrapper queryWrapper) {
        return mesTechnologyMapper.getTechnologys(page,queryWrapper);
    }

    @Override
    public IPage<MesTechnologyVo> getTechnologies(Page page, QueryWrapper queryWrapper) {
        return mesTechnologyMapper.getTechnologies(page,queryWrapper);
    }

    @Override
    public List<MesTechnologyVo> getTechnologies(QueryWrapper queryWrapper) {
        return mesTechnologyMapper.getTechnologies(queryWrapper);
    }

}
